n Noemi
on

 

Hi There,

I am new here so I hope this is not a silly question.

I have created a define.xml (v2.0) in Pinnacle 21 and for some reason it does not show the stylesheet format, the styleesheet is saved in the right folder and it works with other .xml files in the same folder... Am I missing something?? When I view the xml file I created in Pinnacle 21 it just looks like black text on a white background.

Any help would be much appreciated!!

Thank you!

Forums: Troubleshooting and Problems

s Sergiy
on June 30, 2016

Hi Noemi, 

Are you using a stylesheet file "define2-0-0.xml" included into P21 Community ".../components/report" folder?

If a stylesheet file name is different, then you need to modify the 2nd row in your define.xml. 

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="define2-0-0.xsl"?>

Kind Regards, 

Sergiy

n Noemi
on June 30, 2016

Hi Sergiy,

 

Thank you very much for your reply. Yes, in fact the sylesheet works as I am able to see another define.xml file properly formatted using that stylesheet. It is something about this particulat xml file.  Could I show you?

s Sergiy
on June 30, 2016

Could you send me your deifne.xml file for diagnostics?

Thanks,

Segiy

ssirichenko at pinnacle21 dot net 

j Jozef
on June 30, 2016

Hi Noemi,

Looks as something is completely wrong with your define.xml file itself or with the reference to the stylesheet within the XML. Be aware that XML is case sensitive!
I would propose that you learn the basics of XML (my students learn it in less than 3 hours) and that you open (and correct it) using an XML editor.
First thing of course you need to do (within the XML editor) is to validate your define.xml against the XML-Schema.
Learning the basics of XML also allows you to understand what the tool has done (or has done wrong). Here is a very good starting point:

http://www.w3schools.com/xml/xml_whatis.asp

Want a demo?

Let’s Talk.

We're eager to share and ready to listen.

Cookie Policy

Pinnacle 21 uses cookies to make our site easier for you to use. By continuing to use this website, you agree to our use of cookies. For more info visit our Privacy Policy.