Jump to content

ellc

Members
  • Content Count

    12
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ellc

  • Rank
    Newbie
  1. Hi,Situation:Well, I have a xsl file that calls out to a function in my script.js once user click on a URL datatype display on my xml document.The thing here is while I wanted to run the scipt.js to pop up a window using XMLDOM, and display sub-elementbeneath the URL. I display instead everything !Here's what I mean base on my XML structure:MyBook Books (includes simple my personal infor such as name, address, telephone) book1 (includes simple infor such as author, isdn, title) topics1 subtitle of topics suburl for other related topic topics2
  2. ellc

    Xml Schema + Xml Docs

    Hi,Thanks for responding to my enquiry..I have 4 files together working namely (.xml, .xsl, .xsd, .js)1. xml display first & second level of detail of an element. (valid and working fine)2. xsl able to display the output that i want.3. xsd is firing well also (validate with my xml via xmlme.com/validator.aspx)4. in the browser displaying first & second level element,under second element shows a hyperlink which pass value of third level element unto .js5. this .js function suppose to pop out a window created in XMLDOM.6. poping out of window using template given was window.open('','',wi
  3. ellc

    Xml Schema + Xml Docs

    Hi,Thanks for the reply I got it works by the way.. to run a JS, script in XML what are the conditions?I include my code xmldoc.load "myxml.xml" in my script.js but there wasnt any respond.Expected respond to hyperlink from my xml docs in the browser where I insert data types as anyURL.I even validate both my schema and xml file it was validated.Any settings on my browser required to activate a pop up window generating from clicking the hyper link ?Regards & God Bless, ellc
  4. Hi,Is Javascript able to used for creation of DOM from XML Docs & display in the browser as a pop out window ?
  5. Hi Ingolme,Thanks for replying..As you may have seen I had embarasse myself and displaying a true amatuer of XML.But having say so I need to accomplished as part of my assignment with zero XML foundation.To link XML, XSD XSL, JSP al together whereby XML docs able to pop out a window (generated by .JSP script I guess).And the poor thing is I had desperately tried for weeks before due that on april 2th 09
  6. Hi,Does anyone knows how to link a variable from xml from XSL ?Eg: <xsl:value-of select="subpages/subpage/subtitle"/>I like the value of subpages (which is a web address in my .xml file) to link to another web addressI had check my schema for subURL:<xs:element name="subURL" type="xs:anyURI"/>
  7. Hi,Anyone knows how to insert/ link Javascript (.jsp) intol xml file ?Regards & God Bless, ellc
  8. Hi,I am at a loss of what to do. Basically I like to structure my docs in such a way thatSchema Name: Bookmarks.xsd with sub bookmarksSub bookmarks includes: Rating, Title, URLSub Sub Bookmark Under URL(Called Subpage) includes: Subpages, subURLI tried with below code it just doesn't work.___________________InfoAuthorIdCompanyYearShortDescription__________________<?xml version="1.0"?><xsd:schema xmlns:xsd = "http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3schools.com"elementFormDefault="unqualified" attributeFormDefault="unqualified"> <xsd:element name="Mybook
  9. ellc

    Xml Schema + Xml Docs

    Hi Boen_Robot;Don't really get what you mean by smart code.. I edit those code in notepad though.Erm.. On looking carefully I get what you mean betwwen those double code < " > it just that I used normal keyboard from my laptop that's all. another thing I realised after passing those validator machine, I get funny character (chinese wording type, Eg: 攛, 攈) don't really knows what it means. And my .xsd heading becoming - <?xml version=?.0?>Q1. Any idea what is that ? Any Impact on the subsequent output ? What is the significance of it ?Q2. Do you think if I used xmlspy editor will be
  10. ellc

    Xml Schema + Xml Docs

    Hi boen_robot,Thanks for replying. I tried the validator (www.xmlme.com/validator.aspx) but couldn't really figure out what its trying to explained in the error portion.My bookmark.xml Heading:<?xml version="1.0"?><document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="bookmark.xsd">My bookmark.zsd Heading:<?xml version=”1.0”?><schema xmlns=”http://www.w3.org/2001/XMLSchema” targetNamespace="http://www.w3schools.com" elementFormDefault=”unqualified” attributeFormDefault=”unqualified”> The error indicates at Line 1 position 15 which I look at
  11. ellc

    Xml Schema + Xml Docs

    Hi,Anyone knows the proper syntax for inserting into Xml Docs ?Eg: I have an xsd name marker.xsdI tried >> <xmp:document xmlns:xmp="bookmark.xsd" then View XML file from my browser it looks ok, but when I tried to validate it on xmlme/validator it prompts error.Q1: How can I check individually my Schema is working before 'integrate it with any xml docs ?Q2: What would be the proper syntax to insert .xsd into xml files ?Regards, ells
  12. Hi everyone,Me being a newbie in XML trying to learn 'speaking' the language. Should any of my questions sounds absurd to you please bear with me :)Anyway I read so much of the advantages of XML technologies. (Portability, Extnsible etc etc..)1. How do I actually get started with an XML application (Eg; Learning those Hellow World as of other languages)?2. Do I need to have a data source running (Eg: Database, Web Services) in order to run XML ?Regards, Ellc
×
×
  • Create New...