|
Download this from MS. Quite handy reference.
http://msdn.microsoft.com/downloads/samples/internet/default.asp?url=/downloads/samples/internet/xml/multiple_views/default.asp
Dan
---
|
|
|
|
|
Okay I've got a small ASP app that has half a dozen .ASP pages, a couple of HTML pages and a COM exe. This is all running on my IIS server. How do I create an installer to install onto another IIS server?
Does Installshield handle this?
Any pointers or articles will be appreciated.
Michael
|
|
|
|
|
I'm looking for a web-designer as co-author to develop and maintain a website on XML/.NET and rapid web development.
I'm a server-side developer and combining our skills we could achieve a better result.
Feel free to contact me on vobla73@paradise.net.nz or ICQ#135741515
|
|
|
|
|
I have the following XML file:
<batchjobs>
<job id="0">
<name> Refresh </name>
.......
</job>
<job id="1">
<name> Update </name>
.......
</job>
.......
</batchjobs>
I want to create a select list of all the names of my jobs.
I have the following code to produce such a list, but as I have a lot of jobs, I want the list to be alphabetical.
Is there an easy way of doing this?
strXML = "job.xml"
Set oXML = getXML(Server.MapPath(strXML))
Set oNL = oXML.selectNodes("//job")
For i = 0 to oNL.length - 1
strSel = strSel & "<option value=""" & oNL.item(i).getAttribute("id") & """>" & oNL.item(i).firstChild.text
Next
Response.Write("<P><form name=""frmJobs""><select name=""selJobs"">" & strSel & "</select></form>")
Set oXML = Nothing
Set oNL = Nothing
|
|
|
|
|
I think you can use a XSL to sort the xml, using xsl:sort
search de MSDN for xsl:sort you have an example there.
To apply the XSL you could use something like this:
set oDom = Server.CreateObject("MSXML2.DomDocument")
oDom.LoadXML( sXML )
set oDomXSL = Server.CreateObject("MSXML2.DomDocument")
oDomXSL.LoadXML( sXSL )
SortXML = oDom.TransformNode( oDomXSL )
Andres Manggini.
Buenos Aires - Argentina.
|
|
|
|
|
I'm wanting to provide a plug in from a web page. This is for the benefit of users who download files from the site which are PGP encrypted. The plug in needs to find their PGP stuff and decrypt incoming files fairly transparently.
The initial web page should check to see if the plug-in is in place and, if not, offer to install it. These customers are required to use IE5 5 or above. Their PC setup is, I gather, fairly requlated.
I suspect the appropriate kind of plug in is a mime type filter whick IE5 seems to support.
I can see, in outline, what's needed and I've come accross tantalising scraps of information on MSDN but I really need some kind of overall guide to working this trick. I guess the approach will work through a java Applet which then asks for permission to access local files, intalls a DLL into the PLUGINS directory and then registers it, somehow with the system and with IE.
|
|
|
|
|
Sadly I have a HTML/ASP based database project to do and I can't use ASP.NET and C#.
What is the best IDE for developing ASP applications? Is there anything apart from Visual Interdev which handles ASP well?
Michael
|
|
|
|
|
I swear by Macromedia Homesite. It offers project management and syntax highlighting, but other than that, it is really just a fancy notepad. In the way of ASP, all it really does is show you pretty colors when you insert the ASP tags. Nevertheless, if you do a lot of webdesign and you code raw HTML, Homesite is definitely worth the investment.
Jon Sagara
"After all is said and done, usually more is said than done." -- Unknown
Sonork ID 100.9999
|
|
|
|
|
I'll second that!
I use Homesite almost exculsively.
InterDev has some nice ASP specific features, but I have never really gotten comfortable with it.
Jason Jystad
Cito Technologies
www.citotech.net
Sonork ID 100.9918
>-------------------------------------------------<
Every program has at least one bug and can be shortened by at least one instruction -- from which, by induction, one can deduce that every program can be reduced to one instruction that doesn't work.
>-------------------------------------------------<
|
|
|
|
|
Hi there guys. The XML menus, that flyoutmenus if you go to www.microsoft.com/technet, can somebody tell me how they do that. I know they use XML and I did take alook at it. But I don't know how to do it in another website.There is also a file they use default.htc. I need help here please. I want to design a website that have the same flyoutmenus.
David
|
|
|
|
|
I am very new (a few days) to javascript but have many years of C/C++ background.
I have successfully used some COM controls that I wrote (all arguments were variants)
I would like to use some of the common controls in a web page. The target is only using IE and NT machines.
Can anyone point me to where I may get information on what methods with argument lists are usable from a javascript perspective. I have the MSDN library but am not being successful on how to format the calls so the method/property is supported. Below is a trivial example using the Tree Control (that does not work.)
Again I do not just want to make this work but understand what I can and cannot do.
Thanks Mike
<html>
<head>
<title>Menu</title>
</head>
<script language=javascript>
function LoadRoot()
{
var name = "Root";
var parent = null;
parent = Tree.InsertItem(name);
name = "c1";
Tree.InsertItem(name,parent);
name = "C2";
Tree.InsertItem(name,parent);
}
</script>
<body onLoad="LoadRoot();">
Test Menu
<OBJECT
ID="Tree"
CLASSID="CLSID:C74190B6-8589-11D1-B16A-00C0F0283628"
WIDTH=80
HEIGHT=200>
</OBJECT>
</body>
</html>
Michael A Barnhart
mabtech@swbell.net
|
|
|
|
|
http://developer.netscape.com/docs/manuals/js/client/jsref/index.htm
For all your JavaScript reference needs!
Jason Jystad
Cito Technologies
www.citotech.net
Sonork ID 100.9918
>-------------------------------------------------<
Every program has at least one bug and can be shortened by at least one instruction -- from which, by induction, one can deduce that every program can be reduced to one instruction that doesn't work.
>-------------------------------------------------<
|
|
|
|
|
I use a style specification for tag, that includes the definition for "border-right". In the cell with this specification I use italic font.
And, somehow, there are some layouts of IE window size with which the rigt border dissapears. I tested only under IE5. And I know for sure, that there is no such problem if the text is normal (not italic).
What to do?
|
|
|
|
|
Post the troublesome CSS code so we can take a look at it.
Jon Sagara
"After all is said and done, usually more is said than done." -- Unknown
|
|
|
|
|
td.borderright { border-right: 1 solid goldenrod }
...
Some textSome textIn some cases if the cell is not enough for the text to remain in one line my problem occurs.
Btw, why doesn't IE5 support dotted and other line styles? It's CSS1 as I know.
|
|
|
|
|
Hm, looks OK.
There are a number of bugs in IE 5.0 that I have run into, mostly odd things like this. If you try it in 5.5 and it goes away you may be hosed (not that 5.5 is less buggy, just has other bugs ). Of course NuttyScape doesn't support this bit of CSS anyway, so you can not test there. (though 6.2 is supposed to support this, I don't have a test copy installed)
Now on to the constructive advice.
(bet you didn't think I had any )
Try it like this:
td.borderright { border-style: solid; border-right-width: 1px; border-color: #DAA520; }
(#DAA520 = goldenrod, I always use hex color codes )
This means exactly the same thing, is compliant with CSS1, and should be compatible with IE 4+ Opera 5+ and NS 6+. (there are always 400 other ways to do something with CSS)
If you want only the right border on, make sure you add lines to set the other three borders to a width of 0px.
Also, you mentioned Italic text. If you add any font-family tags to your style, make sure it is the last item in the style specification. This is a specific bug I have managed to trace in IE 5.0, (others have mentioned it, so it is not just me). It makes no difference to other browsers, but IE 5.0 can have funky problems if the font-family setting is not the last setting in the style. I have gotten in the habit of putting all of my font css at the bottom of the list with the family tag last. Actually helps readability too!
By way of example, I would make a style class for a table cell with a 1 pixel goldenrod border on only the right side containing 12 point italic Verdana text like this:
TD.BorderRight {
border-style: solid;
border-top-width : 0px;
border-bottom-width : 0px;
border-left-width : 0px;
border-right-width: 1px;
border-color: #DAA520;
font-size: 12pt;
font-style: italic;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}
I prefer the individual line items anyway, both because they are more readable and because I seem to have far fewer cross-browser problems with them than I do with the compound ones.
Good luck and I hope that helps!
Jason Jystad
Cito Technologies
www.citotech.net
Sonork ID 100.9918
>-------------------------------------------------<
Every program has at least one bug and can be shortened by at least one instruction -- from which, by induction, one can deduce that every program can be reduced to one instruction that doesn't work.
>-------------------------------------------------<
|
|
|
|
|
Many thanks. That's just what I wanted to hear.
|
|
|
|
|
No problem!
Let me know if it does the trick. I pull whirly things with CSS all the time, so I am glad to help.
Hope that takes care of it for you.
Jason Jystad
Cito Technologies
www.citotech.net
Sonork ID 100.9918
>-------------------------------------------------<
Every program has at least one bug and can be shortened by at least one instruction -- from which, by induction, one can deduce that every program can be reduced to one instruction that doesn't work.
>-------------------------------------------------<
|
|
|
|
|
Is it possible to post a link to the site you're working on?
|
|
|
|
|
No. Unfortunetly, it's not online yet.
|
|
|
|
|
I somewhat like the project managment features of VI and the ease used to develop on servers, though the thing that gets me is the fact I can never start a project on the root(http://myserver/) rather than http://myserver/myapp. Is there anyway(basically is it possible?) to start a project/webapplication directly on the root rather than appending it in either VI/VS.NET, or is that a limitation of these tools/FrontPage Extensions?
Insight either way is appreciated
|
|
|
|
|
Create a new project and type in the server name. Once connected, rather than creating a new project select the existing project radio button and choose root web from the drop down.
Dan
---
|
|
|
|
|
When applying a size to html form's input elements (type=text) I couldn't help but notice that Netscape (in all its glory) displayed the input boxes approx. twice as large as those displayed in IE.
A workaround to this is to apply a style to the form elements, and set the font-face to a fixed-width font (e.g. Courier). After doing this the size of my input elements was consistently the same for both IE and Netscape.
Martin Eising
|
|
|
|
|
Thanks for the tip!
Jon Sagara
"After all is said and done, usually more is said than done." -- Unknown
|
|
|
|
|
Thanks for that Martin. I'd love to know why it's only fixed-width fonts that work properly. Some dodgy programming methinks
cheers,
Chris Maunder (CodeProject)
|
|
|
|