473,748 Members | 10,649 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

help with xml and css - sorting

Newbie Moment!!

I hope you guys can help. I admit it I know NOTHING about xml and css.
But I need to get a large amount of data out of xml and onto an
intranet site which uses restricted html.I may be able to use css (if
our new outsourced IT dept lets me) but I am having difficulty
figuring out how to get the style sheets to do what i need.

My page is as follows:

<HTML>
<head>
<TITLEInformati on</TITLE>
<link rel="stylesheet " type="text/css" href="excel.css ">

</head>
<BODY>
<BusinessUnit NR name="Nominatio n business unit">blah blah blah</
BusinessUnitNR>
<NominationTy pe name="Nominatio n type">Service</NominationType>
<TeamName name="Team name">John's team</TeamName>
<Description name="Reason">A the reasonp</Description>
<FullName name="Nominee name">john doe smith</FullName>
<Department name="Nominee department">whe re i work</Department>
<TeamMembers name="Team members">not required</TeamMembers>
</p>
<P>&nbsp;</P>
<br>
<P class="small"La st Modified: 20th February 2007<BR>
</P>
<script src="/footer.js"></script>
</BODY>
</HTML>

I need to change the order of the xml so we get <NominationTy pe
name="Nominatio n type"first followed by <FullName name="Nominee
name"and then everything else.

I also have a <Linktag which displays and I want it to be invisible.
I have Go-live and Dreamweaver but I am finding it a little hard to
understand what I need to do. I guess I will be spending the Easter
break figuring out how to write xml, css and use go-live or perhaps
get the xml feature of Indesign up and running.

Thanks

JM

Apr 2 '07 #1
1 3115
On Apr 2, 4:20 pm, jearns...@qanta s.com.au wrote:
I admit it I know NOTHING about xml and css.
Generally, you don't do XML+CSS unless you understand the
limitations and are bloody damned sure you're not shooting
yourself in the foot--which you normally are.
But I need to get a large amount of data out of xml and
onto an intranet site which uses restricted html.
I'm not sure I understand what you mean by 'restricted
HTML'. Generally, if you need to publish your XML data on
the web, you do one of the following things:

- use XSLT to transform XML to HTML server-side on the
fly;
- use XSLT to transform XML to HTML server-side ahead of
time;
- use XSLT to transform XML to HTML client-side.

Naturally, there are other options (such as using a SAX/DOM
parser in your language of choice, or, indeed, styling XML
with CSS), but those are better left to experts who
understand the implications.
I may be able to use css but I am having difficulty
figuring out how to get the style sheets to do what i
need.

<HTML>
<head>
<TITLEInformati on</TITLE>
<link rel="stylesheet " type="text/css" href="excel.css ">

</head>
<BODY>
<BusinessUnit NR name="Nominatio n business unit">blah blah blah</
BusinessUnitNR>
<NominationTy pe name="Nominatio n type">Service</NominationType>
<TeamName name="Team name">John's team</TeamName>
<Description name="Reason">A the reasonp</Description>
<FullName name="Nominee name">john doe smith</FullName>
<Department name="Nominee department">whe re i work</Department>
<TeamMembers name="Team members">not required</TeamMembers>
</p>
<P>&nbsp;</P>
<br>
<P class="small"La st Modified: 20th February 2007<BR>
</P>
<script src="/footer.js"></script>
</BODY>
</HTML>
Uh... first things first. This is not HTML, and I've no
idea what you're trying to do.
I need to change the order of the xml so we get
<NominationTy pe name="Nominatio n type"first followed
by <FullName name="Nominee name"and then everything
else.
Ok. Here's the probable source of confusion--someone
mentioned stylesheets in XML context to you and you thought
of CSS. If that is the case, you've probably been mistaken.
The word 'stylesheets' used in XML context usually--but not
always--refers to either XSLT, XSL-FO or the combination of
those two.

As a rule of the thumb, CSS doesn't do content tweaking.
That's what XSLT is for.
I also have a <Linktag which displays and I want it to
be invisible. I have Go-live and Dreamweaver but I am
finding it a little hard to understand what I need to do.
I guess I will be spending the Easter break figuring out
how to write xml, css and use go-live or perhaps get the
xml feature of Indesign up and running.
Here's another possible explanation of the confusion--you
might be using some CMS which handles the transformations
transparently for you, or perhaps some sort of proprietary
editor/browser plug-in capable of displaying that
not-quite-HTML you've posted. In that case, a couple bits
of advice:

1. Post the detailed description of the software
environment you're using.

2. Consider posting your question to mailing-list/support
forum of the software suite you're working with. You
might find someone familiar with your software here, but
comp.text.xml mostly deals with more general questions
about XML and related technologies.

--
Pavel Lepin

Apr 2 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2533
by: dont bother | last post by:
This is really driving me crazy. I have a dictionary feature_vectors{}. I try to sort its keys using #apply sorting on feature_vectors sorted_feature_vector=feature_vectors.keys() sorted_feature_vector.sort() #feature_vector.keys()=sorted_feature_vector
2
3078
by: D. Roshani | last post by:
Hello ! I wonder if any one can help me to create a cosomize sorting order (as Macro or added small program in c++ or c# which does this work) in a Access Database contaning one table only words encoded in ISO-8859-1 A a B b C c D d E e É é F f G g H h I i Í í J j 1 2 3 4 5 6 7 8 9 10 11 12 Jh jh K k L l ll M m N n O o P p Q q R r rr S s...
3
4036
by: Neil Hindry | last post by:
I wonder if you can help me. I have setup an address-book database in Access XP. I have the first name & surname as separate fields. As I wanted to sort my database by surname and then by first name I had surname before first name when I created the fields of my database.. To do the sort (in table view) I highlighted the two columns (fields), in this case surname and first name, and selected sort. Access then sorted the database by...
1
2640
by: aredo3604gif | last post by:
On Sun, 10 Apr 2005 19:46:32 GMT, aredo3604gif@yahoo.com wrote: >The user can dynamically enter and change the rule connection between >objects. The rule is a "<" and so given two objects: >a < b simply means that b < a can't be set, also it must be a != b. >And with three objects a < b , b < c means a < c > >I studied Quick Union Find algorithms a bit and if I understood them >correctly, once the user gives the input setting the...
3
2397
by: Don | last post by:
I have a "Report" that is created from a "Form". It prints a list of items, you may consider it a shopping list. In any event I use to run this in alphabetical order but have since decided to run it as it comes from the form (random order). My problem is I don't know how to make this happen. The report is sorted in ascending order and I don't know how to change that. I see only two options, ascending or descending. Can you help?...
2
2903
by: rookiejavadude | last post by:
I'm have most of my java script done but can not figure out how to add a few buttons. I need to add a delete and add buttong to my existing java program. Not sure were to add it on how. Can anyone help? my script is below. thank you import java.awt.*; //import all java.awt import java.awt.event.*; //import all java.awt.event import java.util.*; //import all java.util import javax.swing.*; //import all javax.swing class Product...
1
2179
by: Ahmed Yasser | last post by:
Hi all, i have a problem with the datagridview sorting, the problem is a bit complicated so i hope i can describe in the following steps: 1. i have a datagridview with two columns (LoginName,UserName) 2. the datagridview sorting is set to automatic, so when i click on the column header is sorts well. 3. i put in an event handler for the CellEndEdit Event, so whenever the user of the program changes the content of a cell in the LoginName...
1
7189
KevinADC
by: KevinADC | last post by:
Introduction In part one we discussed the default sort function. In part two we will discuss more advanced techniques you can use to sort data. Some of the techniques might introduce unfamiliar methods or syntax to a less experienced perl coder. I will post links to online resources you can read if necessary. Experienced perl coders might find nothing new or useful contained in this article. Short Review In part one I showed you some...
6
1485
by: gopalsd | last post by:
Hi Friends, Can anyone pls help me to resolve my school test in PERL................ as follows..... #!/usr/bin/perl @data=N; $sum=0; print"enter the required No. of numbers to be inputed : f";
5
4954
by: jrod11 | last post by:
hi, I found a jquery html table sorting code i have implemented. I am trying to figure out how to edit how many colums there are, but every time i remove code that I think controls how many colums there are, it crashes. There are currently 6 columns, and I only want 4. How do I remove the last two (discount and date)? Here is a link: http://www.jaredmoore.com/tablesorter/docs/salestable.html Here is some jquery js that I think...
0
8991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8830
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9370
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9321
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9247
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6074
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4602
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.