Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to transform XML file to html file and how to debug the XML script 1

Status
Not open for further replies.

vmisse

Programmer
Oct 6, 2008
2
DE
hey,
I am a newbie in script writing and i m just starting learning XML and AJAX and also JS.I started writing some scripts actually the basic ones "Hello world" and had some issue:
1. by trying the debugger the script of my editor(Eclispe and oxygen) cuz i used eclipse for my java implementation

2.by trying to transform the Xml document to html reading documents

I read both editor's tutorial concerning xml use.

Can anyone help me here plz?


Here is the script:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs=" elementFormDefault="qualified">
<xs:element name="Module">
<xs:complexType>
<xs:sequence>
<xs:element ref="ModulePrefs"/>
<xs:element ref="Content"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ModulePrefs">
<xs:complexType>
<xs:attribute name="author" use="required"/>
<xs:attribute name="author_email" use="required"/>
<xs:attribute name="description" use="required"/>
<xs:attribute name="height" use="required" type="xs:integer"/>
<xs:attribute name="title" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="Content">
<xs:complexType mixed="true">
<xs:attribute name="type" use="required" type="xs:NCName"/>
</xs:complexType>
</xs:element>
</xs:schema>

Thanks in advance
 
You should be more descriptive with what are you using and what issues are you getting.

Cheers,
Dian
 
Hey,
Ok.what i wanted to know is what are the steps for transforming a xml script to a xhtml/html document.So i can have a web browser reading what i wrote on the script.Until now when i tryed to do i still have the script writting on the webbrowser.But that s not what i want.
I am having issues too debugging xml documents.That means debugging xml to xsl and from xsl to xhtml.
If you need more infos feel free to ask.
But that s basically the issues i am having.

best regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top