Click here to Skip to main content
15,924,935 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralXSLT Question Pin
dotnetquery16-Feb-05 22:15
dotnetquery16-Feb-05 22:15 
GeneralRe: XSLT Question Pin
Phil Hobgen20-Feb-05 8:56
Phil Hobgen20-Feb-05 8:56 
QuestionHow do I add a DOCTYPE declaration in XML using MSXML in Visual C++? Pin
IronMike16-Feb-05 21:38
IronMike16-Feb-05 21:38 
AnswerRe: How do I add a DOCTYPE declaration in XML using MSXML in Visual C++? Pin
Phil Hobgen21-Feb-05 10:45
Phil Hobgen21-Feb-05 10:45 
GeneralProcessing Instruction Pin
johnsaxton14-Feb-05 8:53
johnsaxton14-Feb-05 8:53 
GeneralRe: Processing Instruction Pin
Phil Hobgen14-Feb-05 23:13
Phil Hobgen14-Feb-05 23:13 
GeneralRe: Processing Instruction Pin
johnsaxton15-Feb-05 3:31
johnsaxton15-Feb-05 3:31 
GeneralRe: Processing Instruction Pin
johnsaxton15-Feb-05 3:36
johnsaxton15-Feb-05 3:36 
Phil,

Thanks for your reply. The code didn't show up in the first post.

As far as I know PIs may be anywhere in the XML, but I do want this one at the top as shown below:

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/xsl' href='wsinfo.xsl'?>
<WSInfo>
...
</WSInfo>

I have verified that wsinfo.xsl is located in code and bin directories for the url that returns the XML. I know I don't need both, but for now I am trying everything.

When I say that the PI is not displayed, I mean that it is not present in the XML. Here is a snipet of the returned XML.


<?xml version="1.0" encoding="utf-8"?>
<WSInfo>
...
</WSInfo>

I guess the exact point of the problem is that the PI is missing from the final XML. As a result the XML is not being transformed when it is dsiplayed in the browser. If I save the XML and open it in notepad ... there is no stylesheet PI.

Any clues?

P.S. The xsl is valid XML and if I manually add the stylesheet PI to the XML, it is properly transformed when displayed in IE.


John M. Saxton, Jr.
Microsoft Certified Application Developer for .NET
CompTIA Security+ Certified

GeneralRe: Processing Instruction Pin
Phil Hobgen15-Feb-05 4:43
Phil Hobgen15-Feb-05 4:43 
GeneralRe: Processing Instruction Pin
johnsaxton15-Feb-05 6:59
johnsaxton15-Feb-05 6:59 
GeneralHandling a local XML file Using A Server Side Web Application Pin
parv_haghy12-Feb-05 6:41
parv_haghy12-Feb-05 6:41 
GeneralRe: Handling a local XML file Using A Server Side Web Application Pin
Wilbur J. Pereira13-Feb-05 7:46
Wilbur J. Pereira13-Feb-05 7:46 
GeneralHandling a local XML file Using A Server Side Web Application Pin
Anonymous12-Feb-05 6:28
Anonymous12-Feb-05 6:28 
Generalgenerating xml file from existing schema in C# Pin
saima azeemi11-Feb-05 23:28
saima azeemi11-Feb-05 23:28 
GeneralXmlTextWriter 101 Pin
Kenny O'Dell11-Feb-05 9:12
Kenny O'Dell11-Feb-05 9:12 
GeneralRe: XmlTextWriter 101 Pin
Phil Hobgen11-Feb-05 23:33
Phil Hobgen11-Feb-05 23:33 
GeneralShow XML as excel sheet Pin
Anonymous11-Feb-05 8:10
Anonymous11-Feb-05 8:10 
GeneralRe: Show XML as excel sheet Pin
Wilbur J. Pereira13-Feb-05 8:21
Wilbur J. Pereira13-Feb-05 8:21 
GeneralProblem while Working with XmlValidatingReader!!!!! Pin
abcxyz8211-Feb-05 5:00
abcxyz8211-Feb-05 5:00 
GeneralRe: Problem while Working with XmlValidatingReader!!!!! Pin
Phil Hobgen12-Feb-05 2:24
Phil Hobgen12-Feb-05 2:24 
GeneralRe: Problem while Working with XmlValidatingReader!!!!! Pin
abcxyz8214-Feb-05 4:17
abcxyz8214-Feb-05 4:17 
GeneralRe: Problem while Working with XmlValidatingReader!!!!! Pin
Phil Hobgen14-Feb-05 23:06
Phil Hobgen14-Feb-05 23:06 
Generalproblems with IXMLDOMDocumentPtr -&gt;loadXML Pin
mc.george11-Feb-05 2:26
mc.george11-Feb-05 2:26 
GeneralRe: problems with IXMLDOMDocumentPtr -&gt;loadXML Pin
Wilbur J. Pereira13-Feb-05 8:07
Wilbur J. Pereira13-Feb-05 8:07 
Generalmaking the XML files more unique Pin
equit11-Feb-05 0:36
equit11-Feb-05 0:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.