| View previous topic :: View next topic |
| Author |
Message |
usr225
Joined: 09 Dec 2005 Posts: 5
|
Posted: Fri Dec 09, 2005 7:43 am Post subject: XML DTD Not displaying |
|
|
| I have an xml template. When I preview or save, it does not display the <!DOCTYPE> tag which is required for the application I am importing the file into. (I can see the tag only when editing from within ShipWorks.) What can I do to display this information as xml output? Thanks. |
|
| Back to top |
|
Brian ShipWorks Staff
Joined: 30 Jul 2004 Posts: 3608
|
Posted: Thu Dec 15, 2005 10:32 pm Post subject: |
|
|
To output XML that contains DOCTYPE using XSL, you need to use attributes on the xsl:output tag.
These attributes are doctype-system and doctype-public. You can set one or more of these depending on the doctype output you need.
For example,
<xsl:output method="xml" doctype-system="doctypes/example.dtd" />
Brian |
|
| Back to top |
|
usr225
Joined: 09 Dec 2005 Posts: 5
|
Posted: Fri Dec 16, 2005 10:02 am Post subject: re: XML DTD |
|
|
Thank you. I figured it might have something to do with the <xml:output> tag, but I couldn't find it anywhere in the help system.
Anyway, Shipworks has been an excellent tool for developing an 'smbxml' order import for Netsuite ERP. If any other customers are moving to Netsuite and still using Miva Merchant, Shipworks will definitely help you do it! |
|
| Back to top |
|
|