XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Roger PowellSubject: Insert an xml-stylesheet PI into the XML
Author: Roger Powell
Date: 01 Dec 2004 10:43 AM
I may have missed this, but I've searched the site and the manual.

Do I have to write the <?xml-stylesheet type=" " etc./> P.I. into my xml
instance document manually? Is there any button to press or scenario
setting to define that does this?

Of course I can associate the XSLT with the XML in the scenario but I want
it to put in the PI as it does for the schema.

Roger Powell
Senior Lecturer, Brunel University

Postnext
Tony LavinioSubject: Insert an xml-stylesheet PI into the XML
Author: Tony Lavinio
Date: 03 Dec 2004 12:10 PM
If you are generating the XML from some other XSLT, you can use the
<xsl:processing-instruction name=""></xsl:processing-instruction> syntax
to add it, but if you are starting from XML and just want to associate
the XSLT for display (so, for example, IE can display it), you would need
to include the <?...?> in your XML document manually.

We don't have scenarios for XML documents, since they are not executable.
Scenarious are only for the XSLT, XQuery, XML/SQL and WS components.

Posttop
Roger PowellSubject: Insert an xml-stylesheet PI into the XML
Author: Roger Powell
Date: 06 Dec 2004 06:50 AM
You have misunderstood. I am asking for something trivial, just to
save a line of typing.

I want an AUTOMATIC way of adding a stylesheet PI for the current
stylesheet into an XML source file. You don't need an "XML Scenario".
Just a button on the XSLT Scenario to provide the association.

XML-spy does it.

Senior Lecturer, Brunel University

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.