Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Search
Search


Forum Index » Templates

Post new topic   Reply to topic
XML DTD Not displaying
View previous topic :: View next topic  
Author Message
usr225



Joined: 09 Dec 2005
Posts: 5

PostPosted: Fri Dec 09, 2005 7:43 am    Post subject: XML DTD Not displaying Reply with quote

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
View user's profile
Brian
ShipWorks Staff


Joined: 30 Jul 2004
Posts: 3608

PostPosted: Thu Dec 15, 2005 10:32 pm    Post subject: Reply with quote

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
View user's profile
usr225



Joined: 09 Dec 2005
Posts: 5

PostPosted: Fri Dec 16, 2005 10:02 am    Post subject: re: XML DTD Reply with quote

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
View user's profile
Display posts from previous:   
Post new topic   Reply to topic     Forum Index » Templates All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  

Powered by phpBB © 2001, 2002 phpBB Group