Jump to content


  • Posts

  • Joined

  • Last visited

compositor's Achievements


Newbie (1/7)



  1. Issues like sticky buttons etc., are likely related to .NET
  2. Hi,As far as I know Unicode entities in DOM aren't replaced with their representation but are rather left "as is" and the only way to represent a character in a codified fashion is by using programming entities instead, this makes sense as you cannot use classes either.By DOM I mean using programmatic means to render a webpage, eg via javascript.Anyway, that link should work if you copy and paste manually.Thank you
  3. Here's a good tutorial (by w3schools of course)http://www.w3schools.com/Xml/default.aspThe funny thing about XML and tutorials, is often as you are trying to discover, there is never the context around the subject in order to help someone understand.xml syntax isn't too difficult but the question of "what is xml used for" well in a web based context, not much unless other languages (or vocabularies) are employed, not diametrically dissimilar to how HTML + CSS go together, xml & xslt go together as well.It's probably worth mentioning that for most purposes, xml isn't ultimately required, what is really worth mastering is XHTML, & CSS, those two languages can accomplish many things. As for the former, ie xhtml, well that is relatively easy to grasp but the latter, eg CSS is not as simple as it seems, particularly when you get involved with things such as positioning which can behave very differently in the browsers but for the most part are fairly standardized.HTH's
  4. This is what I found:http://www.fileformat.info/info/unicode/char/feff/index.htmYou can use the C/C++/Java source code reference.Does anyone know if it's on the w3schools website?Thank you
  5. xml of course and by extension xslt, but try to master the fundamentals of DTD, very important even in an xml only context (not SGML) since they are the building blocks of all these meta languages.Scripting is good to know too but CSS is more important to begin.If you really want to master web technologies get a book, my recommendation:XHTML black book by Steven Holzner.Steer clear of so-called "bibles" as they are only really blanket references at the end of the day and serve little in the way of helping to gain understanding.
  6. Hi Boen,I looked into it, and actually you need to use programming contructs, eg C and Java. I was wondering since w3 schools have no information on this maybe i should post a link, since using hex references is the only way.Thank you
  7. Is it possible, or am I chasing the wrong tail?
  8. Hi,I think there may be a but in the implementation somewhere.Just thought I'd report it so it can be looked into.Thanks
  9. Thanks for that link, I will study it when I can.Regarding Schema validation, my personal view is regardless of the perceived power of XMLSchema, the simple fact that DTD and XMLSchema can't be used together to me is silly since with DTD all you are really defining is the existence ofelements, their order, their attributes and values, as well as of course entities. You don't need to be concerned with namespaces or how many times an element can exist unless you introduce a schema into the mix but with the current implementation you can't because of a blanket ban.Anyway the reason I want to write a custom schema for xsl documents is because I am using HTML (naturally) as the rendering language with xsl templates, which is a poor mans' way to xslfo but it's fine for the current time.What I was asking was for validator.w3c.com to be able to validate xml documents against schema, otherwise what is the point. As I mentioned before I can use a simple program to validate an xml file against a DTD and it even tells me when I should use a single a attribute instead of multiple attribute definitions for the same "node" but there seems to be nothing for XMLSchema, which I believe is responsible for poor take up worldwide, but that's just my view.Regards
  10. or learn XML Path Language:http://www.w3.org/1999/10/xquery-tree.htmlOf course on it's own XPath doesn't account for much but used with XSL, it's quite powerful, the problem then is support, which browser does it what way becomes the issue.If you are serious about XML, then you will need to understand entities, as well as DTD, which is the best way to learn about document structure.XSLT is an XML vocabulary that transforms xml nodes into HTML using XPath and XQL. When you create an xml file it can reference a standard Cascading Style Sheets (CSS) file but that won't let you use things like images, links and so on, for that you will need XSL which is a superset of css.There is also the W3CDOM, which is based on the ECMA scripting language or JavaScript and references nodes within a flat xml file. It's nice but XPath in XSL is really the way to go for most things as it effectively supplants the functionality of HTML altogether and merely uses it (html) as a rendering language.The book I read was called XML Unleashed by Michael Morrison. Some things are out of date now but the way the concepts were presented made it very exciting and it still is my go to reference until of course I find things like the above link.HTH's
  11. I was wondering if it is at all possible to use the W3C validator in order to validate an XSL file against an XML Schema?Already Microsoft don't allow more than one DTD in an xml document and even though it's done by the browser I think it's fair to say that time is nigh that W3C stepped up to the plate and provided (more).Thanks & regards
  12. Hi and thanks.Unparsed (general) entities can only be used via attributes, however what I've found is even though you are setting an entity eg. something.gif you still must supply the extension, and I'm trying to determine if this is a windows specific issue or something where the standards have allowed a bit of leeway.I will try to get an example soon.About the validator, it's interesting I never knew it could validate plain xml, that is very helpful but it could be a bit more informative with the text/xml business ie by giving you some recommendations on what to do, I mean apache being open source and all.Oh and regarding the URI, what I was saying was you specify SYSTEM and yet it is still a url you are linking to. Kind of confused me at first because I thought whenever the SYSTEM identifier was used that it had to be in the same directory or is this only for general unparsed entities.Regards
  13. Thanks once again for replying.I did manage to use the online validator but found that when you use SYSTEM, it still requires a publicly available URI.Is this a problem in the implementation since I also found that unparsed entities require both a name and an extension, or is this windows specific.Regards
  14. Hi & thanks for replying.Are you saying that I can upload a dtd or it must be publicly available?What I'm hoping for is for the w3cschools idea to be implemented at w3c so it is easier to validate custom files.I'm using this program called Open XML Editor, and it does validation but I need something more, as well to extend xhtml without needing to be "online".Thanks again
  15. Hi,I found there was an XML validator that checks for well-formedness, as well as the data model of a DTD and I was wondering if there are any plans to make it more widely available, eg like the HTML/CSS validator at w3c.org.Thank you
  • Create New...